package com.xbongbong.paas.service;

import com.xbongbong.paas.elasticsearch.pojo.dto.SearchDataInConditionDTO;
import com.xbongbong.paas.enums.FieldTypeEnum;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.pojo.vo.SearchDataInConditionVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.formexplain.pojo.ConditionExplainPojo;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2020/4/8 19:43
 * @since v1.0
 */
public interface ConditionListService {

    /**
     * 单行文本获取搜索数据
     * @param fieldAttrEntity
     * @param searchDataInConditionDTO
     * @param fieldTypeEnum 字段枚举
     * @return
     * @throws XbbException
     */
    SearchDataInConditionVO listOfText(ConditionExplainPojo conditionExplainPojo, FieldAttrEntity fieldAttrEntity, SearchDataInConditionDTO searchDataInConditionDTO, FieldTypeEnum fieldTypeEnum) throws XbbException;

}
